]> dgit.raspbian.org Git - gnome-shell.git/commit
appDisplay: Refresh folder preview when favorites change
authorShivam <shivamsingh5636@outlook.com>
Sat, 21 Feb 2026 12:22:35 +0000 (17:52 +0530)
committerDedacc <shivamgrd116@gmail.com>
Tue, 24 Feb 2026 15:04:34 +0000 (20:34 +0530)
commite9f24200e22b7a2e311224c4f16f7f0488ce6a11
treedfed5316bacdbe1268ad3af5c86478981fd20338
parent10cd1a875ddaff97b0d2220d2ad7f650da8976df
appDisplay: Refresh folder preview when favorites change

Pinning an app from inside a folder did not refresh the
folder preview. FolderIcon._sync() was only listening
to folder GSettings changes, while pinning updates the
favorites setting instead.

As a result, _sync() was never called and the preview
could show stale icons or remain visible when the folder
became empty.

Fix this by also connecting _sync() to
AppFavorites::changed, ensuring the folder preview
updates correctly when favorites are modified.

Closes : https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/9026

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/4088>
js/ui/appDisplay.js